package com.admin;










import com.admin.LoginpageAction;





public class LoginpageAction extends DepartmentAction {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -853236624482576492L;
	private int rolenmuber;
	private int comenmuber;
	private int depmuber;
	private int usernmuber;
	
	
	public String adminrole() {
		rolenmuber=getallrole();
		comenmuber=getallcome();
		depmuber=getalldep(0);
		usernmuber=getalluser(0);
		return "success";
	}
	
	
	
	
	
	private int getalluser(int i) {
		// TODO Auto-generated method stub
		return getalluser(i,"").size();
	}





	private int getalldep(int i) {
		// TODO Auto-generated method stub
		return getdepnumber(i);
	}





	private int getallcome() {
		// TODO Auto-generated method stub
		return getcome().size();
	}





	private int getallrole() {
		// TODO Auto-generated method stub
		return getrole().size();
	}





	public int getRolenmuber() {
		return rolenmuber;
	}
	public void setRolenmuber(int rolenmuber) {
		this.rolenmuber = rolenmuber;
	}
	public int getComenmuber() {
		return comenmuber;
	}
	public void setComenmuber(int comenmuber) {
		this.comenmuber = comenmuber;
	}
	public int getUsernmuber() {
		return usernmuber;
	}
	public void setUsernmuber(int usernmuber) {
		this.usernmuber = usernmuber;
	}
	public int getDepmuber() {
		return depmuber;
	}
	public void setDepmuber(int depmuber) {
		this.depmuber = depmuber;
	}
	
}